using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;

namespace NBusiness.Data
{
    public interface IEntityCollection : IEnumerable
    {
        EntityBase this[int index] { get; set; }
        int Count { get;}
        int IndexOf(EntityBase entity);
        void Remove(EntityBase entity);
        void Add(EntityBase entity);
        void Save();
    }
}
